const API_CONFIG = [
    {
        name: "config/tree",
        setCommonParam: true,
        namespace: "business",
        method: "get",
        params: {},
        path: "/management/type/list",
        desc: "获取分类树结构"
    },
    {
        name: "getTable",
        setCommonParam: true,
        namespace: "business",
        method: "get",
        params: {},
        path: "/management/label/page",
        desc: "获取表单项列表"
    },
    {
        name: "changeSort",
        setCommonParam: true,
        namespace: "business",
        method: "post",
        params: {},
        path: "/management/label/sort",
        desc: "修改表单项顺序"
    },
    {
        name: "setOnly",
        setCommonParam: true,
        headers: {
            "Content-Type": "application/json"
        },
        namespace: "business",
        method: "post",
        params: {},
        path: "/management/uniqueIndex/save",
        desc: "唯一性标识修改"
    },
    {
        name: "getOnly",
        setCommonParam: true,
        namespace: "business",
        method: "post",
        params: {},
        path: "/management/uniqueIndex/list",
        desc: "唯一性标识获取"
    },
    {
        name: "addCategory",
        setCommonParam: true,
        headers: {
            "Content-Type": "application/json"
        },
        namespace: "business",
        method: "post",
        params: {},
        path: "/management/type/save",
        desc: "添加分类"
    },
    {
        name: "updateCategory",
        setCommonParam: true,
        headers: {
            "Content-Type": "application/json"
        },
        namespace: "business",
        method: "post",
        params: {},
        path: "/management/type/update",
        desc: "更新分类"
    },
    {
        name: "delCategory",
        setCommonParam: true,
        headers: {
            "Content-Type": "application/json"
        },
        namespace: "business",
        method: "get",
        params: {},
        path: "/management/type/:id/delete",
        desc: "删除分类"
    },
    {
        name: "setCondition",
        setCommonParam: true,
        namespace: "business",
        method: "get",
        params: {},
        path: "/management/type/list",
        desc: "设置检索条件"
    }
];
export default API_CONFIG;
